package com.xinyun.server.protocol;

/**
 * Created by bubusy on 16/5/22.
 */
public class ProtocolDataHeader {

    private int length;
    private int msgType;
    private int b4;
    private int b5;
    private int b6;

    public int getB4() {
        return b4;
    }

    public void setB4(int b4) {
        this.b4 = b4;
    }



    public int getB5() {
        return b5;
    }

    public void setB5(int b5) {
        this.b5 = b5;
    }

    public int getB6() {
        return b6;
    }

    public void setB6(int b6) {
        this.b6 = b6;
    }


    public ProtocolDataHeader() {
    }


    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }


    @Override
    public String toString() {
        String str = "ProtocolDataHeader[";
        str += "length:" + this.length + "; ";
        str += "msgType:" + this.msgType + "; ";
        str += "b4:" + this.b4 + "; ";
        str += "b5:" + this.b5 + "; ";
        str += "b6:" + this.b6 + ";]";
        return str;
    }
}
